package org.chaos.sekiro.workorder.app.form.internal.model

import org.chaos.sekiro.common.ktorm.AuditEntity
import org.chaos.sekiro.workorder.common.enumeration.ComponentType
import org.ktorm.entity.Entity

interface Component : AuditEntity, Entity<Component>  {
    companion object : Entity.Factory<Component>()

    var id: Long?
    var userId: Long
    var formId: Long
    var parentId: Long
    var name: String
    var type: ComponentType
    var deleted: Boolean
}